# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=deepin-qt5integration-git
pkgver=5.1.12.r54.g732a237
pkgrel=1
pkgdesc='Qt platform theme integration plugins for DDE'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/qt5integration"
license=('GPL3')
depends=('dtkwidget-git' 'libqtxdg' 'deepin-qt5platform-plugins-git')
makedepends=('git' 'qt5-tools' 'xcb-util-renderutil' 'gtest')
conflicts=('deepin-qt5integration')
provides=('deepin-qt5integration')
groups=('deepin-git')
source=('source.tar.gz')
sha512sums=('SKIP')

prepare() {
    cd $deepin_source_name
}

build() {
  cd $deepin_source_name
  qmake-qt5 PREFIX=/usr
  make
}

package() {
  cd $deepin_source_name
  make INSTALL_ROOT="$pkgdir" install
}
